package com.example.web04.entity;

import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book {
    private Integer id;
    private String name;
    private Double price;
    private String author;
    private String publisher;
    private String description;
    private String category;
    public Book(Integer id,String name) {
        this.id = id;
        this.name = name;
    }
}
